Release 10.1A: OpenEdge Development:
Progress Dynamics Basic Development
Creating and modifying Palette objects
Always create your own template and palette objects. Do not modify the default template or palette objects. Any changes you make to the default objects will be overwritten by changes Progress makes in future releases.
![]()
To create a palette object with the ROM to add a custom icon to the Object Palette:
- Create a SmartDataField drop-down calendar.
- Save it as dropdowncal.w in the
adm2/customdirectory and register it in the Repository.- Open the ROM and type palette in the Object Type field.
- Expand the tree view to show the contents of the Palette
Objects node.
- Create a new object using the following values:
Field Value Product MyProduct Product module MyProductModule Object type code staticSDF Object filename myCustomPalettes Layout None (00)- Expand the myCustomPalettes node.
- Create a new Object Instance named dropdowncal.
- Add the following attributes for dropdowncal:
- Choose File
Preferences on the Administration window. The Dynamics Preferences dialog box appears.
- Type *, myCustomPalettes in the Custom Palettes field, as shown:
![]()
- Choose OK.
- Choose Menu
Use Custom... from the Object Palette’s menu. The Use Custom dialog box appears.
- Choose OK to reload the information from the Repository.
- Right-click the SmartDataField icon. The new Dropdown Calendar object is available on the pop-up menu.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |